package na.learn.java.smalltests;

public class TestString {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		String str = "Hello";
		String mystr = str.substring(2);
		System.out.println("llo".hashCode());
		System.out.println(str.hashCode());
		System.out.println(mystr.hashCode());
		System.out.println("~~~~~~~~~~~~~~~~~~~~~~~`");
		String newStr = new String("Hello");
		String newMyStr = newStr.substring(2);
		System.out.println("newStr: " + newStr.hashCode());
		System.out.println("newMyStr: " + newMyStr.hashCode());
		System.out.println("llo".hashCode());

	}

}
